home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / QuakeTools / src / libqtools / Makefile.in < prev    next >
Encoding:
Makefile  |  1998-06-13  |  2.3 KB  |  98 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. QTLIB = @top_srcdir@/lib/libqtools.a
  5. QTLIBP = @top_srcdir@/lib/libqtools_p.a
  6. QTLIBV = @top_srcdir@/lib/libqtools_v.a
  7. QTLIBB = @top_srcdir@/lib/libqtools_b.a
  8.  
  9. #
  10. # buildings
  11. #
  12. default: $(QTLIB)                        # build the default useable library
  13. profile: $(QTLIBP)                        # build the library with later profiling capabilities
  14. coverage: $(QTLIBV)                        # build the library to analyse code-/execution-streams
  15. branch: $(QTLIBB)                        # rebuild the library after branches have been analysed
  16.     -mv -f $(QTLIBB) $(QTLIB)
  17. all: lib profile coverage                    # build the complete package
  18.  
  19. #
  20. # cleanups
  21. clean:                                # clean the default library
  22.     -rm -f $(QTLIB) $(QTOBJ)
  23. cleanprofile:                            # clean the profile library
  24.     -rm -f $(QTLIBP) $(QTOBJP)
  25. cleancoverage:                            # clean the analyse library
  26.     -rm -f $(QTLIBV) $(QTOBJV) $(QTOBJBB)
  27. cleanbranch:                            # clean the post-analysed branch-optimized library
  28.     -rm -f $(QTLIBB) $(QTOBJB)
  29. cleanall: clean cleancoverage cleanprofile cleanbranch        # clean everything
  30.  
  31. #
  32. # dists
  33. #
  34. distclean: cleanall                        # clean even the configured files
  35.     -rm -f Makefile
  36.  
  37. #
  38. # installations
  39. #  it doesnt make sence to install the analyse-library
  40. #
  41. install: default                        # install the default library
  42.     @INSTALL@ $(QTLIB) @libdir@
  43. installprofile: profile                        # install the profile library
  44.     @INSTALL@ $(QTLIBP) @libdir@
  45. installall: install installprofile                # install the everything library
  46.  
  47. #
  48. # debugging/analysing
  49. #
  50. analyse:
  51.     for i in $(QTSRC); do \
  52.       gcov -f -l -b $$i >$$i.branch; \
  53.     done
  54. analyseclean:
  55.     -rm -f $(QTOBJDA) *.branch *.gcov bsp/*.gcov
  56.  
  57. #
  58. # rules
  59. #
  60. include    @top_srcdir@/src/Makefile-rules
  61.  
  62. #
  63. # sources/objects/libraries
  64. #
  65. QTSRC =    bsp.c crc.c graphics.c map.c misc.c memory.c mip.c pak.c \
  66.     raw.c script.c TDDD.c wad.c
  67.  
  68. QTOBJ = $(QTSRC:.c=.o)
  69. QTOBJP = $(QTSRC:.c=.p)
  70. QTOBJV = $(QTSRC:.c=.v)
  71. QTOBJB = $(QTSRC:.c=.b)
  72. QTOBJDA = $(QTSRC:.c=.da)
  73. QTOBJBB = $(QTSRC:.c=.b*)
  74.  
  75. @top_srcdir@/lib/libqtools.a: $(QTOBJ)
  76.     $(AR) rcv $@ $?
  77.     $(RAN) $@
  78. @top_srcdir@/lib/libqtools_p.a: $(QTOBJP)
  79.     $(AR) rcv $@ $?
  80.     $(RAN) $@
  81. @top_srcdir@/lib/libqtools_v.a: $(QTOBJV)
  82.     $(AR) rcv $@ $?
  83.     $(RAN) $@
  84.     -mv -f $(QTCOV) bsp
  85. @top_srcdir@/lib/libqtools_b.a: $(QTOBJB)
  86.     $(AR) rcv $@ $?
  87.     $(RAN) $@
  88.     -mv -f $(QTCOV) bsp
  89.  
  90. #
  91. # dependencies
  92. #
  93. depend:
  94.     @MKD@ -m $(INCL) $(QTSRC)
  95.  
  96. # DO NOT DELETE
  97.